package StudyCode.summary.mycollection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class PrintArray {
	public static void printArray(int a[]) {

		for (int x : a) {
			System.out.print(x + ",");
		}
		System.out.println("");
	}

	public static <T> void printArray(T coll[]) {

		for (T i : coll) {
			System.out.print(i + ",");
		}

		System.out.println("");
	}
}
